import React from 'react'
import { Grid } from 'antd-mobile';
import "./index.css"
const data = Array.from(new Array(9)).map((_val, i) => ({
  icon: 'https://gw.alipayobjects.com/zos/rmsportal/nywPmnTAvTmLusPxHPSu.png',
  text: `name${i}`,
}));

const data1 = Array.from(new Array(9)).map(() => ({
  icon: 'https://gw.alipayobjects.com/zos/rmsportal/WXoqXTHrSnRcUwEaQgXJ.png',
}));


const GridComponent = () => (
  <div>
    

    <div className="sub-title">热门分类</div>
    <Grid data={data} columnNum={3} />
    <Grid data={data} columnNum={3} />

   
  </div>
);

export default GridComponent

